package com.s3.demo.utils;

import java.util.ResourceBundle;

/**
 * @author lzz
 * @create 2021-09-06 16:27
 */
public class ResourcesUtil {

    public static <T> T getResourceStr(String bundle, String key) {
        return (T) ResourceBundle.getBundle(bundle).getString(key);
    }

}
